lcWndGetEntsByPoint | Home |
int lcWndGetEntsByPoint ( HANDLE hLcWnd, int Xwin, int Ywin int nMaxEnts ); |
hLcWnd | |
Handle to LiteCAD graphics window. | |
Xwin Ywin | |
Coordinate in LiteCAD window. If -1 specified for both parameters, then cursor coordinates will be used. | |
nMaxEnts | |
Maximal number of entities that can be retrieved.
You can specify -1 to retrieve unlimited number of entities. In order to free the inner memory buffer set 0. |
A number of found entities. |
Found entities can be retrieved by the lcWndGetEntity function. |
Code sample, lcWndGetEntsByRect, lcWndGetEntByPoint |